<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:rich="http://richfaces.org/rich"
                template="embed/template.xhtml">
                
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <ui:define name="topnav">
            <ui:include src="/embed/menu.xhtml">
                <ui:param name="page" value="home" />
            </ui:include>
   </ui:define> 
   
    <ui:define name="sidebar">
       <!--  <ui:include src="/login/login.xhtml" />-->
   </ui:define>
   <ui:define name="search">   
       <ui:include src="/embed/search.xhtml" />
    </ui:define> 
   <ui:define name="body"> 
      <div class="productbox" >
		<rich:panel>
			<f:facet name="header">送货方式选择</f:facet>
			<h:form >
			    <h:outputLabel>说明：各种送货方式收费标准均为15元每单，订单金额满200元免运费</h:outputLabel> 
                <br />
       				<h:selectOneRadio value="#{newAddress.sentStyle}"
					layout="pageDirection" required="true">

					<f:selectItem itemLabel="平邮" itemValue="平邮" />

					<f:selectItem itemLabel="快递" itemValue="快递" />

					<f:selectItem itemLabel="EMS" itemValue="EMS" />
					
				</h:selectOneRadio> 
				
				<h:outputLabel>您本张订单的运费是：</h:outputLabel>
				
				<h:outputText value="#{currentOrder.sentprice}"/>
				
				<h:outputLabel>元</h:outputLabel>
                <br />
                <br />
				<h:commandButton id="sent" value="确认送货方式" action="sentTime" />				
			</h:form>

		</rich:panel>
         </div>
	</ui:define>

</ui:composition>

